package net.suncapper.wcss.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.suncapper.wcss.common.JsonResponse;
import net.suncapper.wcss.model.domain.Application;
import com.baomidou.mybatisplus.extension.service.IService;
import net.suncapper.wcss.model.domain.WhitelistSetting;
import net.suncapper.wcss.model.dto.PageDTO;
import net.suncapper.wcss.model.vo.ApplicationVO;

/**
 * <p>
 * 申请表 服务类
 * </p>
 *
 * @author ztr
 * @since 2025-11-11
 */
public interface IApplicationService extends IService<Application> {

    JsonResponse submit(Application application);

    Page<ApplicationVO> getlist(ApplicationVO application, PageDTO pageDTO, WhitelistSetting currentLoginUser);

    JsonResponse updateByIds(ApplicationVO application);
}
